import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from 'components'
import Indexdmeo from 'components/demo'
import Indexdmeo1 from 'components/demo2'
import Indexdmeo2 from 'components/demo3'
import Indexdmeo3 from 'components/demo4'


import {routes as demoRoutes} from './demos'

Vue.use(VueRouter)

export default new VueRouter({
  routes: [
    {
      path: '/',
      name: 'Menu',
      component: Index
    },{
      path: '/demo',
      name: 'Menu1',
      component: Indexdmeo
    },
    {
      path: '/demo1',
      name: 'Menu1',
      component: Indexdmeo1
    },
    {
      path: '/demo2',
      name: 'Menu1',
      component: Indexdmeo2
    },
    {
      path: '/demo3',
      name: 'Menu1',
      component: Indexdmeo3
    },
     ... demoRoutes

  ]
})
